package com.young.pattern.builderPattern;

import org.omg.CORBA.PUBLIC_MEMBER;

/**
 * 角色构建者,充当抽象构建者类
 */
public abstract class ActorBuilder {

    protected Actor actor = new Actor();
    public abstract void buildType();
    public abstract void buildSex();
    public abstract void buildFace();
    public abstract void buildCostume();
    public abstract void buildHairstyle();

    protected Actor createActor(){
        return actor;
    }
}
